//定义状态数据
const state = {
	sildeData: [],
	limitData: {},
	moreData: [],
	loading: true,
	hideload: false,
	categorylistData: [],
	categoryData: [],
	categorylist: [],
	categoryrightData: [],
	adData: {},
	cat_id: "858",
	showloading: false,
	categorydetailist: [],
	detailData: {},
	cartDatas: localStorage["carts"] ? JSON.parse(localStorage["carts"]) : [],
	selectAll: localStorage["selectall"] ? JSON.parse(localStorage["selectall"]) : false,
	isLogin: localStorage["token"] ? JSON.parse(localStorage["token"]) : false
}
export default state